package cn.tedu.zhxy.service;

import cn.tedu.zhxy.dto.LoginDTO;
import cn.tedu.zhxy.entity.Admin;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2022-07-19
 */
public interface AdminService extends IService<Admin> {

    Admin login(LoginDTO loginDTO);

    IPage<Admin> getAllAdmin(Page<Admin> pageParam, String name);
}
